#ifndef __END_EVENT_HPP__
#define __END_EVENT_HPP__

#include "base_event.hpp"


namespace run_code_event_space {

struct end_event : base_event<end_event>  {
    template <class U>
    ProcessStatus execute_impl(run_code_context_t<U>& context);
};

template <class U>
ProcessStatus end_event::execute_impl(run_code_context_t<U>& context) {
    return ProcessStatus { 
                    .result = END_EVENT, 
                    .error = "end event occur"
                };
}

}

#endif /* __END_EVENT_HPP__ */
